@charset "utf-8";
/*--------------------功能: 重设浏览器默认样式 START--------------------*/
a, abbr, acronym, address, applet, article, aside, audio,
b, blockquote, big, body,
center, canvas, caption, cite, code, command,
datalist, dd, del, details, dfn, dl, div, dt,
em, embed,
fieldset, figcaption, figure, font, footer, form,
h1, h2, h3, h4, h5, h6, header, hgroup, html,
i, iframe, img, ins,
kbd,
keygen,
label, legend, li,
meter,
nav,
object, ol, output,
p, pre, progress,
q,
s, samp, section, small, span, source, strike, strong, sub, sup,
table, tbody, tfoot, thead, th, tr, tt,
u, ul,
var { background: transparent; border: 0 none; margin: 0;padding: 0; border: 0;outline:0;vertical-align: top; -webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing: antialiased;}
blockquote, q { quotes: none;}
table, table td { padding: 0; border: none; border-collapse: collapse;}
img {border: 0;}
select {white-space: nowrap}
caption {text-align: left;}
embed {vertical-align: top;}
div, ul, li, ol, dl, dd, p { word-wrap: break-word;}
ul, li, ol, dl, dd{ list-style-type: none;}
input, textarea, select { font-family: inherit; outline: none; font-size: inherit; font-weight: inherit; padding: 0; margin: 0;}
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight:normal;}
body { text-align: left;color: #828282;overflow-x: hidden;}
html,body{ font:10px/1.5 Microsoft YaHei,\5b8b\4f53, Arial, Verdana; width: 100%;}
a{text-decoration: none;white-space:nowrap; color: #828282;}
input,input[type="button"], input[type="submit"], input[type="reset"],input[type="number"] {-webkit-appearance: none; }
input::-webkit-inner-spin-button { -webkit-appearance: none;}
input::-webkit-outer-spin-button { -webkit-appearance: none;}

/*
 * SASS setting 
 */
// 各个浏览器的属性前缀，true表示开启，false表示不开启
//-----------------------------------------------------
$prefixForWebkit:             true !default;
$prefixForMozilla:            true !default;
$prefixForMicrosoft:          true !default;
$prefixForOpera:              false !default; //opera从版本15开始转向webkit，所以默认为false，不输出o前缀
$prefixNo:                    true !default;

// 用于flex的兼容变量
$flexOld:                     true !default; //09版本 用于兼容移动端，-webkit前缀
$flexMid:                     true !default; //用于ie10 -ms前缀
//全局变量
$URL:                         "../images/";//url路径前缀
$REM:            76;//rem unit
@function REM($n){
    @return $n/$REM*1rem;
}
@function TOP($n){
    @return $n/1192*100%;
}
// prefixer
// 默认这里将输出webkit前缀，moz前缀和标准
@mixin prefixer($property, $value, $prefixes: webkit moz) {
  @each $prefix in $prefixes {
    @if $prefix == webkit and $prefixForWebkit == true {
      -webkit-#{$property}:#{$value};
    }
    @else if $prefix == moz and $prefixForMozilla == true {
      -moz-#{$property}:#{$value};
    }
    @else if $prefix == o and $prefixForMozilla == true {
      -o-#{$property}:#{$value};
    }
    @else if $prefix == ms and $prefixForMicrosoft == true {
      -ms-#{$property}:#{$value};
    }
  }
  @if $prefixNo {
    #{$property}: $value;
  }
}
//opacity
@mixin opacity($alpha) {
    @include prefixer(opacity,$alpha);
    filter:alpha(opacity=$alpha * 100);
}

input::-webkit-input-placeholder{
    color: #a0a0a0;
}
input::-moz-input-placeholder{
    color: #a0a0a0;
}
input:-moz-input-placeholder{
    color: #a0a0a0;
}
input:-ms-input-placeholder{
    color: #a0a0a0;
}

.hide{
    display: none;
}
.wrap{
//  max-width: 750px;
    margin: 0 auto;
}
.shengl {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.unvisible{
    visibility: hidden;
}

//clear
.clearfix,.clear {
    *zoom: 1;
    &:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
}
//alert txt
.alert-txt{
    position: fixed;
    left: 50%;
    top: 40%;
    max-width: 80%;
    padding:0.2rem 0.4rem;
    color: #FFFFFF;
    font-size: .4rem;
    line-height: 1.5;
    text-align: center;
    background-color: rgba(0,0,0,0.8);
    @include prefixer(transform,translateX(-50%));
    @include prefixer(border-radius,0.2rem);
    z-index: 99999;
}
//底部1px边框
.border-1px{
  position: relative;
  border:none;
}
.border-1px:after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background: #000;
  width: 100%;
  height: 1px;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  opacity: 0.5;
}
.border-1px-right{
    position: relative;
    border:none;
}
.border-1px-right:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: #dcdcdc;
  height: 100%;
  width: 1px;
  -webkit-transform: scaleX(0.5);
  transform: scaleX(0.5);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
   opacity: 0.5;
}

//底部1px边框
.border-1px-top{
  position: relative;
  border:none;
}
.border-1px-top:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: #dcdcdc;
  width: 100%;
  height: 1px;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
   opacity: 0.5;
}